package com.yungu.swift.system.sys.model.vo;

import com.yungu.swift.base.model.BaseVo;

import java.util.Date;
import java.util.List;

/**
 * Author:Zerrion
 * Date:2019/2/13
 * 公司bean
 */
public class CompanyVo extends BaseVo {
    /**
     * 业务集合
     */
    List<BusinessVo> businesses;
    /**
     * 区域代理uuid
     */
    private String regionalAgentUuid;
    /**
     * 简称
     */
    private String shortName;
    /**
     * 全称
     */
    private String fullName;
    /**
     * 公司电话
     */
    private String phone;
    /**
     * 负责人
     */
    private String responsibleName;
    /**
     * 负责人手机号
     */
    private String responsibleMobile;
    /**
     * 状态（1 开通 -1 未开通）
     **/
    private int status;
    /**
     * 自营（1：是 ，2：否）
     */
    private Integer self;

    public String getShortName() {
        return shortName;
    }

    public void setShortName(String shortName) {
        this.shortName = shortName;
    }

    public String getResponsibleName() {
        return responsibleName;
    }

    public void setResponsibleName(String responsibleName) {
        this.responsibleName = responsibleName;
    }

    public String getResponsibleMobile() {
        return responsibleMobile;
    }

    public void setResponsibleMobile(String responsibleMobile) {
        this.responsibleMobile = responsibleMobile;
    }

    public List<BusinessVo> getBusinesses() {
        return businesses;
    }

    public void setBusinesses(List<BusinessVo> businesses) {
        this.businesses = businesses;
    }

    public String getFullName() {
        return fullName;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getRegionalAgentUuid() {
        return regionalAgentUuid;
    }

    public void setRegionalAgentUuid(String regionalAgentUuid) {
        this.regionalAgentUuid = regionalAgentUuid;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Integer getSelf() {
        return self;
    }

    public void setSelf(Integer self) {
        this.self = self;
    }

    public String getSelfStr() {
        if (self == 1) {
            return "自营";
        } else {
            return "非自营";
        }
    }
}
